/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  font-family: "Microsoft Yahei";
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


.info-box .info{
  display: inline-block;
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-box .message{
  display: inline-block;
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .my-skin{
  width: 600px !important;
}

body .my-skin .layui-layer-title{background:#eee; color:#333; border: none;}
body .my-skin .layui-layer-btn{border-top:1px solid #E9E7E7}
body .my-skin .layui-layer-btn a{background:#333;}
body .my-skin .layui-layer-btn .layui-layer-btn1{background:#999;}

.phone-window{
  display: none;
  position: fixed;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  padding: 10px;
  width: 500px;
  max-height: 600px;
  background: #fff;
  border: 1px solid #ddd;
  overflow-y: scroll;
}

#popback{
  display: none;
  position: fixed;
  z-index: 9;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  background: #000;
}

h3{
  margin-top: 5px;
}


.show-pic .img{
  position: relative;
  display: inline-block;
  width: 150px;
  height: 120px;
}

.show-pic .del{
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 10px;
  padding: 0 5px;
  border-radius: 4px;
  background: red;
  color: #fff;
}

.show-pic .del:hover{
  cursor: pointer;
}


.show-pic img{
  width: 150px;
  height: 120px;
}
